package com.hub.netty.server.controller;


import com.hub.netty.base.domain.Message;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ author 令狐冲
 * @ date & time 2025/2/6 15:32
 */
@RestController
public class SendMsgController {

    @PostMapping("/sendMsg")
    public String sendMsg(@RequestBody Message msg) {
        return "发送成功";
    }

}
